package service.impl;

import java.util.List;

import dao.ReserveDao;
import dao.impl.ReserveDaoImpl;
import model.ReservemsgModel;
import service.ReserveService;

public class ReserveServiceImpl implements ReserveService {
	ReserveDao reserveDao=new ReserveDaoImpl();

	@Override
	public void addReserveMsg(ReservemsgModel reservemsg) throws Exception {
		reserveDao.addReserveMsg(reservemsg);
	}

	@Override
	public List<ReservemsgModel> listAll() throws Exception {
		return reserveDao.listAll();
	}
}
